﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200031F RID: 799
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ClockParkStartScriptScRsp : IMessage<ClockParkStartScriptScRsp>, IMessage, IEquatable<ClockParkStartScriptScRsp>, IDeepCloneable<ClockParkStartScriptScRsp>, IBufferMessage
	{
		// Token: 0x17000A56 RID: 2646
		// (get) Token: 0x060023BB RID: 9147 RVA: 0x00065045 File Offset: 0x00063245
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ClockParkStartScriptScRsp> Parser
		{
			get
			{
				return ClockParkStartScriptScRsp._parser;
			}
		}

		// Token: 0x17000A57 RID: 2647
		// (get) Token: 0x060023BC RID: 9148 RVA: 0x0006504C File Offset: 0x0006324C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ClockParkStartScriptScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000A58 RID: 2648
		// (get) Token: 0x060023BD RID: 9149 RVA: 0x0006505E File Offset: 0x0006325E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ClockParkStartScriptScRsp.Descriptor;
			}
		}

		// Token: 0x060023BE RID: 9150 RVA: 0x00065065 File Offset: 0x00063265
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClockParkStartScriptScRsp()
		{
		}

		// Token: 0x060023BF RID: 9151 RVA: 0x0006506D File Offset: 0x0006326D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClockParkStartScriptScRsp(ClockParkStartScriptScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.scriptId_ = other.scriptId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060023C0 RID: 9152 RVA: 0x0006509E File Offset: 0x0006329E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClockParkStartScriptScRsp Clone()
		{
			return new ClockParkStartScriptScRsp(this);
		}

		// Token: 0x17000A59 RID: 2649
		// (get) Token: 0x060023C1 RID: 9153 RVA: 0x000650A6 File Offset: 0x000632A6
		// (set) Token: 0x060023C2 RID: 9154 RVA: 0x000650AE File Offset: 0x000632AE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17000A5A RID: 2650
		// (get) Token: 0x060023C3 RID: 9155 RVA: 0x000650B7 File Offset: 0x000632B7
		// (set) Token: 0x060023C4 RID: 9156 RVA: 0x000650BF File Offset: 0x000632BF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ScriptId
		{
			get
			{
				return this.scriptId_;
			}
			set
			{
				this.scriptId_ = value;
			}
		}

		// Token: 0x060023C5 RID: 9157 RVA: 0x000650C8 File Offset: 0x000632C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ClockParkStartScriptScRsp);
		}

		// Token: 0x060023C6 RID: 9158 RVA: 0x000650D6 File Offset: 0x000632D6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ClockParkStartScriptScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.ScriptId == other.ScriptId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060023C7 RID: 9159 RVA: 0x00065114 File Offset: 0x00063314
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.ScriptId != 0U)
			{
				num ^= this.ScriptId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060023C8 RID: 9160 RVA: 0x0006516C File Offset: 0x0006336C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060023C9 RID: 9161 RVA: 0x00065174 File Offset: 0x00063374
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060023CA RID: 9162 RVA: 0x00065180 File Offset: 0x00063380
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ScriptId != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.ScriptId);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060023CB RID: 9163 RVA: 0x000651D8 File Offset: 0x000633D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.ScriptId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ScriptId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060023CC RID: 9164 RVA: 0x00065230 File Offset: 0x00063430
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ClockParkStartScriptScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.ScriptId != 0U)
			{
				this.ScriptId = other.ScriptId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060023CD RID: 9165 RVA: 0x00065280 File Offset: 0x00063480
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060023CE RID: 9166 RVA: 0x0006528C File Offset: 0x0006348C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 56U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.ScriptId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04000E8C RID: 3724
		private static readonly MessageParser<ClockParkStartScriptScRsp> _parser = new MessageParser<ClockParkStartScriptScRsp>(() => new ClockParkStartScriptScRsp());

		// Token: 0x04000E8D RID: 3725
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000E8E RID: 3726
		public const int RetcodeFieldNumber = 7;

		// Token: 0x04000E8F RID: 3727
		private uint retcode_;

		// Token: 0x04000E90 RID: 3728
		public const int ScriptIdFieldNumber = 1;

		// Token: 0x04000E91 RID: 3729
		private uint scriptId_;
	}
}
